package com.monitor.dao;

import java.util.List;

import com.monitor.po.RemoteCall;
import com.monitor.util.Pager;

public interface RemoteCallDao {

	void addRemoteCall(RemoteCall call) throws Exception;

	int deleteRemoteCall(Long id) throws Exception;

	Pager<RemoteCall> getUserRemoteCall(long uid, int currentPage, int pageSize) throws Exception;

	RemoteCall getRemoteCallById(Long id) throws Exception;

	void updateRemoteCall(RemoteCall call) throws Exception;

	int updateRemoteCallExecutedStatus(Long[] ids, boolean excuted) throws Exception;

	List<RemoteCall> getAllUnexecutedRemoteCall(long uid) throws Exception;

	int deleteRemoteCallByUid(long uid) throws Exception;
}
